//
//  KSQuitLoginTableViewCell.swift
//  Supermarket
//
//  Created by Black_Crystal on 2017/9/21.
//  Copyright © 2017年 kushao. All rights reserved.
//

import UIKit

class KSQuitLoginTableViewCell: UITableViewCell {

    var quitLabel = UILabel()
    override init(style: UITableViewCellStyle, reuseIdentifier: String?) {
        super.init(style: style, reuseIdentifier: reuseIdentifier)
        
        self.backgroundColor = KSColor.kColorViewBackground
        
        quitLabel.text = "退出登录"
        quitLabel.textColor = KSColor.kColorMainRed
        quitLabel.backgroundColor = UIColor.white
        quitLabel.textAlignment = .center
        self.contentView.addSubview(quitLabel)
        quitLabel.snp.makeConstraints { (make) in
            make.edges.equalTo(UIEdgeInsets.init(top: 10, left: 0, bottom: 0, right: 0))
        }
    }

    override func setSelected(_ selected: Bool, animated: Bool) {
        super.setSelected(selected, animated: animated)

        // Configure the view for the selected state
    }
    
    required init(coder aDecoder: NSCoder) {
        fatalError("init(coder:) has not been implemented")
    }

}
